home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / ietf / urn / urn-archives / urn-ietf.archive.9610 / 000126_owner-urn-ietf _Wed Oct 30 15:46:54 1996.msg < prev    next >
Internet Message Format  |  1997-02-19  |  5KB

  1. Received: (from daemon@localhost) by services.bunyip.com (8.6.10/8.6.9) id PAA04945 for urn-ietf-out; Wed, 30 Oct 1996 15:46:54 -0500
  2. Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by services.bunyip.com (8.6.10/8.6.9) with SMTP id PAA04938 for <urn-ietf@services.bunyip.com>; Wed, 30 Oct 1996 15:46:52 -0500
  3. Received: from newton.ncsa.uiuc.edu by mocha.bunyip.com with SMTP (5.65a/IDA-1.4.2b/CC-Guru-2b)
  4.         id AA17107  (mail destined for urn-ietf@services.bunyip.com); Wed, 30 Oct 96 15:46:50 -0500
  5. Received: from carlyle.ncsa.uiuc.edu (carlyle.ncsa.uiuc.edu [141.142.230.144]) by newton.ncsa.uiuc.edu (8.6.11/8.6.12) with ESMTP id OAA08495 for <urn-ietf@bunyip.com>; Wed, 30 Oct 1996 14:21:29 -0600
  6. Received: from ncsa.uiuc.edu (void.ncsa.uiuc.edu [141.142.103.20]) by carlyle.ncsa.uiuc.edu (8.6.11/8.6.9) with ESMTP id OAA26648 for <urn-ietf@bunyip.com>; Wed, 30 Oct 1996 14:21:27 -0600
  7. Received: (from liberte@localhost) by ncsa.uiuc.edu (8.7.6/8.7.3) id OAA12250; Wed, 30 Oct 1996 14:15:51 -0600 (CST)
  8. Date: Wed, 30 Oct 1996 14:15:51 -0600 (CST)
  9. From: Daniel LaLiberte <liberte@ncsa.uiuc.edu>
  10. Message-Id: <199610302015.OAA12250@ncsa.uiuc.edu>
  11. To: Ron Daniel <rdaniel@acl.lanl.gov>
  12. Cc: urn-ietf@bunyip.com
  13. Subject: [URN] HTTP resolution protocol
  14. In-Reply-To: <2.2.32.19961030185925.007445e0@acl.lanl.gov>
  15. References: <2.2.32.19961030185925.007445e0@acl.lanl.gov>
  16. Sender: owner-urn-ietf@services.bunyip.com
  17. Precedence: bulk
  18. Reply-To: Daniel LaLiberte <liberte@ncsa.uiuc.edu>
  19. Errors-To: owner-urn-ietf@bunyip.com
  20.  
  21. (Why are people putting [URN] in the title if the recipients are
  22. all on the urn-ietf list?  Just curious.)
  23.  
  24. Ron Daniel writes:
  25.  
  26.  >          Conventions for the Use of HTTP for URN Resolution
  27.  
  28. Perhaps the whole document could be more specific on the fact that
  29. this is a particular kind of URN resolution, not the only way that
  30. HTTP might in fact be used (simultaneously) for URN resolution.
  31. For example, path URNs can be mapped directly to http URLs, which
  32. the client resolves normally via HTTP, using whatever services are
  33. supported via HTTP.  (Additional http services might be metadata
  34. requests, for example.)
  35.  
  36.  > Abstract:
  37.  > =========
  38.  > 
  39.  > One of the main purposes of the work on URNs is to allow resources
  40.  > to be replicated onto multiple sites.
  41.  
  42. I disagree with this.  Replication should be considered orthogonal to
  43. naming and name resolution.  Names are not required to offer just as
  44. much transparency in the replication process and resolution via
  45. replicas.  An identifier (whether a "name" or "location") for a
  46. resource can be associated with many other identifiers of replicas, or
  47. alternatively, an identifier can be associated with many other
  48. services that *have* replicas of the resource.
  49.  
  50. The main purpose of URNs is to provide an additional level indirection
  51. via a relatively long lived resolution service (e.g. DNS).  Providing
  52. replica identifiers at the same time as providing this indirection
  53. seems like a reasonable thing to do (and it is) but it is the
  54. indirection which is the main purpose of names.
  55.  
  56. You also have described several other services that the server would
  57. provide, so why focus on replication in the Abstract?
  58.  
  59.  > Obtaining a copy of such a
  60.  > replicated resource procedes by contacting a "resolver" that knows the
  61.  > locations of the replicated resource.
  62.  
  63. An HTTP server could know the locations of a replicated resource
  64. identified by either an http URL or a URN.
  65.  
  66.  
  67.  > 2.0 General Approach:
  68.  > =====================
  69.  > 
  70.  > The general approach used to encode resolution service requests in HTTP
  71.  > is quite simple: 
  72.  > 
  73.  >     GET <service>/<uri>  HTTP/1.0
  74.  > 
  75.  > For example, if we have the URN "cid:foo@huh.com" and want a URL,
  76.  > we would send the request:
  77.  > 
  78.  >     GET N2L/cid:foo@huh.com HTTP/1.0
  79.  
  80. What you propose works, but consider why not do:
  81.  
  82.   N2L cid:foo@huh.com HTTP/1.0
  83.  
  84. The "N2L/" prefix on the URI defines a name space within the server -
  85. the server might be used for other things simultaneously.  Doing a GET
  86. request on this URI means (in current HTTP) that the result should be
  87. cachable, and as far as the client is concerned it looks like
  88. "N2L/whatever" is the identifier for a resource itself.  The full URL
  89. for this resource is "http://wherever/N2L/whatever".  Could we then
  90. request "N2L/N2L/whatever"?
  91.  
  92. With a new "N2L" method, things would be different.  Whether the
  93. result is cachable is not certain.  Most servers cannot (yet) be
  94. configured to handle new methods.  But otherwise, it might make more
  95. sense to keep the N2L service request out of the identifier of the
  96. real resource (the <whatever>).  Folding the service (or method) request
  97. into an identifier is not a sin - in fact, I have suggested more of
  98. the same.  I just want to point out that that is what you are doing.
  99.  
  100.  > One caveat should be kept in mind. The "urn:" prefix is still the
  101.  > subject of controversy, so some URN documents advocate treating it
  102.  > as optional. HTTP resolvers MUST return identical results for URIs
  103.  > that do and do not contain the "urn:" prefix.
  104.  
  105. Wouldn't it be simpler just to require that the "urn:" should be
  106. removed before submitting the request?
  107.  
  108. --
  109. Daniel LaLiberte (liberte@ncsa.uiuc.edu)
  110. National Center for Supercomputing Applications
  111. http://union.ncsa.uiuc.edu/~liberte/